package com.stony.orc;

import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;

/**
 * <p>orcTest
 * <p>com.stony.orc
 *
 * 500次/天免费
 * @author stony
 * @version 上午10:58
 * @since 2017/11/15
 */
public interface API {

    public static final String TOKEN = "https://aip.baidubce.com/oauth/2.0/token";
    public static final String GENERAL_BASIC = "https://aip.baidubce.com/rest/2.0/ocr/v1/general_basic";
    public static final String ACCURATE_BASIC = "https://aip.baidubce.com/rest/2.0/ocr/v1/accurate_basic";
    public static final String IDCARD = "https://aip.baidubce.com/rest/2.0/ocr/v1/idcard";
    public static final String BANKCARD = "https://aip.baidubce.com/rest/2.0/ocr/v1/bankcard";
    public static final String DRIVING_LICENSE = "https://aip.baidubce.com/rest/2.0/ocr/v1/driving_license";
    public static final String VEHICLE_LICENSE = "https://aip.baidubce.com/rest/2.0/ocr/v1/vehicle_license";
    public static final String LICENSE_PLATE = "https://aip.baidubce.com/rest/2.0/ocr/v1/license_plate";
    public static final String RECEIPT = "https://aip.baidubce.com/rest/2.0/ocr/v1/receipt";

    public static ExecutorService executorService = Executors.newFixedThreadPool(2);
}